package com.woniuxy.service;

import com.woniuxy.conmon.MyPageData;
import com.woniuxy.pojo.Department;
import com.woniuxy.pojo.Disease;
import com.woniuxy.pojo.Result;
import com.woniuxy.pojo.dto.DiseaseDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author admin
* @description 针对表【disease(疾病信息表)】的数据库操作Service
* @createDate 2025-06-05 14:50:52
*/

public interface DiseaseService extends IService<Disease> {


    MyPageData getDisease(Integer pageNum, Integer pageSize);


    List<Department> getDiseaseByDepartmentId();

    Disease getDisease1(Integer id);

    Result createDisease(DiseaseDTO dto);

    Result updateDisease(DiseaseDTO dto);

    MyPageData searchDisease(Integer pageNum, Integer pageSize, Disease disease);
}
